<?php
/**
 * Created by PhpStorm.
 * User: wangye
 * Date: 19-3-12
 * Time: 下午3:34
 */

$host = '127.0.0.1';
$dbname = 'o2o';
$username = 'o2o';
$port = '3306';
$password = 'ixRfN736mKBMp4pX';

$pdo = new PDO("mysql:host={$host};port={$port};dbname={$dbname};port=","{$username}","{$password}");

$pdo->exec('SET NAMES UTF8');

